import request from '../request'

function statusUser(id,type) {
    return request({
        method:'put',
        url:`users/${id}/state/${type}`
    })
}
export default statusUser